<?php
require 'workflowConverterClass.php';
/*$postdata = file_get_contents("php://input");
 file_put_contents('personal.json',$postdata);*/
 // Getting frontend value
 //$postData = file_get_contents('personal.json');
 $postdata = file_get_contents("php://input");
 // Convert frondend json file to backend json file 
 $workFlow = WorkFlowConverter::ToBackEnd($postData);
 // saving backend json file
// file_put_contents('app/config/workflow/personal.json',$workFlow);
echo $workFlow; 
?>